import axios from "./axios";

export const  userQuery = (params)=>{
    return  axios({
        method:"get",
        url:"/userinfo",
        params
    })
}
export  const userAdd = (data)=>{
    return  axios({
        method:"post",
        url:"/userinfo",
        data
    })
}
export  const  userDel  = (id)=>{
    return axios({
        method:"delete",
        url:"/userinfo/"+id
    })
}